package com.triones.api.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.triones.api.entity.EmailChangeRecordDO;
import com.triones.api.entity.vo.CustomEmailChangeRecordVO;
import com.triones.api.entity.vo.EmailChangeRecordVO;
import org.apache.ibatis.annotations.Param;

/**
 * 邮箱修改记录 -mapper接口
 */
public interface EmailChangeRecordMapper extends BaseMapperPlus<EmailChangeRecordMapper, EmailChangeRecordDO, EmailChangeRecordVO> {

    /**
     * 邮箱变更记录列表（分页）
     * @param build
     * @param wrapper
     * @return
     */
    Page<CustomEmailChangeRecordVO> selectPageList(@Param("page") Page<Object> build, @Param(Constants.WRAPPER) QueryWrapper<Object> wrapper);
}
